package com.qianchang.microfinance.bean.event;

/**
 * 版 权: 深圳市迪蒙网络科技有限公司
 * 描 述:
 * 修 改 人: zhoulai
 * 修改时间: 2017/6/2 11:48
 */


public class LoginEvent {

    private LoginStatue loginState;

    public LoginEvent(LoginStatue loginState) {
        this.loginState = loginState;
    }

    public LoginStatue getLoginState() {
        return loginState;
    }

    public void setLoginState(LoginStatue loginState) {
        this.loginState = loginState;
    }

    public enum LoginStatue {
        LOGIN_SUC(0), LOGIN_FAILED(1), LOGOUT(2),LOGOUT_FIND(3);
        private int status;

        private LoginStatue(int status) {
            this.status = status;
        }

        public int getStatus() {
            return status;
        }
    }
}
